﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class Controls_Reviews : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Pager1_Prerender(object sender, EventArgs e)
    {
        DataPager c = (DataPager)sender;

        if (c.TotalRowCount > c.PageSize)
            c.Visible = true;
        else
            c.Visible = false;
    }
}
